/*******************************************************************************
 * Package: com.hngtrust.iir.user.controller.vo
 * Type:    EditSelfTagVO
 * Date:    2021/3/20 11:22
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.user.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 添加和修改请求
 *
 * @author Keqiwei
 * @date 2021/3/20 11:22
 */
@ApiModel(description = "添加和修改请求")
@Data
public class EditSelfTagVO {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 标签类型
     */
    @ApiModelProperty(value = "标签类型")
    private Integer tagType;
    /**
     * 标签名称
     */
    @NotBlank(message = "名称不能为空")
    @Size(max = 10,message = "标签名不能超过10字")
    @ApiModelProperty(value = "标签名称")
    private String name;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
    
    /**
     * 标签说明
     */
    @ApiModelProperty(value = "标签说明")
    private String note;
}
